package user.zc.controller;

import user.zc.vo.ConnectionDTO;

import java.util.List;

public interface IConnect {

    List<String> connectList()throws Exception;
    Boolean switchConnections(String connection)throws Exception ;
    void saveOrUpdate(String connection, ConnectionDTO connectionDTO)throws Exception ;
    ConnectionDTO read()throws Exception ;
    ConnectionDTO read(String connection)throws Exception ;
    void deleteConection(String name)throws Exception;
}
